package edu.zut.hb.ambition.inoutpatienttype.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.InoutpatienttypeMapper;
import com.ruoyi.system.domain.Inoutpatienttype;
import com.ruoyi.system.service.IInoutpatienttypeService;


@Service
public class InoutpatienttypeServiceImpl implements IInoutpatienttypeService
{
    @Autowired
    private InoutpatienttypeMapper inoutpatienttypeMapper;


    @Override
    public Inoutpatienttype selectInoutpatienttypeByInoutpatientid(Long inoutpatientid)
    {
        return inoutpatienttypeMapper.selectInoutpatienttypeByInoutpatientid(inoutpatientid);
    }


    @Override
    public List<Inoutpatienttype> selectInoutpatienttypeList(Inoutpatienttype inoutpatienttype)
    {
        return inoutpatienttypeMapper.selectInoutpatienttypeList(inoutpatienttype);
    }


    @Override
    public int insertInoutpatienttype(Inoutpatienttype inoutpatienttype)
    {
        return inoutpatienttypeMapper.insertInoutpatienttype(inoutpatienttype);
    }


    @Override
    public int updateInoutpatienttype(Inoutpatienttype inoutpatienttype)
    {
        return inoutpatienttypeMapper.updateInoutpatienttype(inoutpatienttype);
    }

    @Override
    public int deleteInoutpatienttypeByInoutpatientids(Long[] inoutpatientids)
    {
        return inoutpatienttypeMapper.deleteInoutpatienttypeByInoutpatientids(inoutpatientids);
    }


    @Override
    public int deleteInoutpatienttypeByInoutpatientid(Long inoutpatientid)
    {
        return inoutpatienttypeMapper.deleteInoutpatienttypeByInoutpatientid(inoutpatientid);
    }
}
